Component({
    properties: {
        outside: {
            type: Boolean,
            value: !1,
            observer: function(e) {
                console.log(e), this.setData({
                    inside: e
                });
            }
        },
        disabled: {
            type: Boolean,
            value: !1
        }
    },
    data: {
        inside: !1,
        activeIcon: "./images/active.png",
        inavtiveIcon: "./images/inactive.png"
    },
    methods: {
        onChange: function() {
            this.properties.disabled || this.setData({
                inside: !this.data.inside
            }), this.triggerEvent("changeSelect", {
                select: this.data.inside
            });
        }
    }
});